<ion-header>
    <ion-navbar no-border-bottom>
        <ion-title >高级查询</ion-title>
      <ion-buttons>
        <button ion-button (click)="cancel()" >关闭</button>
      </ion-buttons>
    </ion-navbar>
</ion-header>
<ion-content class='email-list'>
  <ion-list class='gfoa-list'>
    <ion-item>
        <ion-label>任务名称:</ion-label>
        <ion-input placeholder="请输入任务名称关键字" [(ngModel)]="condition.taskname"></ion-input>
    </ion-item>
    <ion-item>
      <ion-row>
        <ion-col width-33 class='title'>员工:</ion-col>
        <ion-col text-rigth class='substance'>
          <div class="selected-user-list-item break-word">&nbsp;{{condition.empName}}
          </div>
        </ion-col>
        <ion-col width-20 class="operate" >
          <button ion-button small (click)="chooseEmp()">选择</button>
        </ion-col>
      </ion-row>
    </ion-item>
    <ion-item>
      <ion-label>任务状态</ion-label>
      <ion-select cancelText="取消" okText="确定" [(ngModel)]="condition.taskstatus">
        <ion-option value="">全部</ion-option>
        <ion-option value="未完成">未完成</ion-option>
        <ion-option value="完成">完成</ion-option>
      </ion-select>
    </ion-item>
  </ion-list>
  <ion-row >
    <ion-col text-center>
      <button block ion-button color="light" (click)="search()"><ion-icon name="search"></ion-icon>搜索</button>
    </ion-col>
    <ion-col text-center>
      <button block ion-button color="light" (click)="clear()"><ion-icon name="trash"></ion-icon>清空</button>
    </ion-col>
  </ion-row>
</ion-content>
